///@description 初始化地图
// You can write your code in this editor

//标记地图栅格建立和显示地图栅格建立
map_stamp_grid_=ds_grid_create(MAP_STAMP_WIDTH,MAP_STAMP_HEIGHT);
map_show_grid_=ds_grid_create(MAP_SHOW_WIDTH,MAP_SHOW_HEIGHT);
map_stamp_number=0;//已标记的栅格数量
//寻路创建
path_id=path_add();
path_map_path_id=mp_grid_create(8,8,MAP_SHOW_WIDTH,MAP_SHOW_HEIGHT,CELL_WIDTH,CELL_HEIGHT);
//获取图块集
tilemap_wall=layer_tilemap_get_id("WALL");
//tilemap_x(tilemap_wall,8);
//tilemap_y(tilemap_wall,8);
tilemap_floor=layer_tilemap_get_id("FLOOR");
//tilemap_x(tilemap_floor,8);
//tilemap_y(tilemap_floor,8);
tilemap_col=layer_tilemap_get_id("Col");
//tilemap_x(tilemap_col,8);
//tilemap_y(tilemap_col,8);
